package com.wzh.house.feign;

import com.wzh.common.utils.R;
import com.wzh.house.entity.NewHouseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author WZH
 * @title: EsFeign
 * @projectName find_house
 * @description:
 * @date 2022/3/25
 */
@FeignClient("house-es")
public interface EsFeign {
    @RequestMapping("es/upNewHouse")
    R upNewHouse(@RequestBody NewHouseEntity newHouseVo);
}
